<%--
  Created by IntelliJ IDEA.
  User: qianghj
  Date: 2019/9/9
  Time: 14:59
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
    <link rel="icon" href="../images/icon.ico">
    <style  >
        *{
            padding: 0;
            margin: 0;
        }

        .header-container{
            width: 100%;
            height:40px;
            background-color: #f6f6f6;

        }
        .header-container .top-nav{
            font-size: 12px;
        }
        .header-container .top-nav a{
            text-decoration: none;
            color: #333;
        }
        .header-container .top-nav .mini-logo {
            text-align: center;
            line-height: 40px;
            position: relative;
            /* background-color: pink;*/
            height:40px;
            width: 200px;
            margin-left: 30px;
            float: left;
        }
        .header-container .top-nav .mini-logo .item{
            text-decoration: none;
            color: #333;

        }
        .header-container .top-nav .mini-logo a:hover{
            color: #f63;
        }
        .header-container .top-nav .mini-logo .item i{
            display: inline-block;
            margin-right: 4px;
            height:16px;
            width:16px;
            background: url("../images/icon-logo.png") no-repeat center;
            background-size: 16px; ;
            position: relative;
            left: 3px;
            top: 2px;
        }
        .header-container .top-nav .group{
            height: 40px;

            /*    background-color: blueviolet;*/
            float: right;
            margin-right:100px;
        }
        .header-container .top-nav .group .quick-munu .munu {
            list-style: none;
            text-align: center;
            float: left;
            line-height: 40px;
            /*margin-left:12px;*/
            border-right: 1px solid #cdcfd1;
        }
        .header-container .top-nav .group .quick-munu .munu:first-child{
            width: 80px;
            text-align: center;
        }
        .header-container .top-nav .group .quick-munu .munu:nth-child(2){
            width: 150px;
            text-align: center;
        }
        .header-container .top-nav .group .quick-munu .munu1{
            width: 100px;
        }
        .header-container .top-nav .group .quick-munu  .munu a:hover{
            color: #f63;
        }
        .header-container .top-nav .group .quick-munu .down-list{
            list-style: none;
            border: 1px solid  #f6f6f6;
            display: none;
            z-index: 99;
            position: relative;
        }
        .header-container .top-nav .group .quick-munu  .munu:nth-child(3):hover .down-list{
            display: block;
        }
        .head{
            width: 100%;
            height:120px;
            position: relative;
            /*       background-color: pink;*/
            border-bottom: 2px solid #f63;


        }
        .head .logo>a{
            height: 48px;
            width: 165px;
            display: inline-block;
            background: url("${pageContext.request.contextPath}/images/logo@2x-1828c2a9.png") no-repeat;
            background-size: 165px ;
            margin-left: 85px;
            margin-top: 15px;
            border: none;
            /*   border: 1px solid #000;*/
        }
        .head .logo .sub-logo{
            display: inline-block;
            height: 48px;
            font-size: 20px;
            font-family: "Microsoft YaHei";
            color: #666;
            position: absolute;
            top: 20px;
            left: 262px;
        }
        .head .search{
            /*border: 1px solid #000;*/
            width: 620px;
            height: 50px;
            /*background-color: yellow;*/
            position: absolute;
            left: 515px;
            top: 15px;;
        }
        .head .search input:first-child{
            width: 380px;
            height: 14px;
            padding: 9px;
            border: 2px solid #f63;
            text-indent: 22px;
            outline: 0;
            box-sizing: content-box;
            font: 12px/1.5 arial,sans-serif;
            position: absolute;
            left: 0px;
            top: 3px;


        }
        .head .search input:nth-child(2){

            height: 36px;
            line-height: 16px;
            width: 100px;

            background-color: #f63;
            cursor: pointer;
            text-align: center;
            color: #fff;
            font-size: 16px;
            outline: none;
            border: none;
            position: absolute;
            left: 401px;
            top: 3px;
        }
        .head .search input:nth-child(3){
            padding: 9px;
            background-color: #fff;
            border: 1px solid #ccc;
            color: #515151;
            margin-left: 5px;
            height: 36px;
            width: 100px;
            position: absolute;
            left: 509px;
            top: 3px;
            font-size: 16px;
            line-height: 16px;
            outline: none;
        }
        .head .navbar{
            height: 35px;
            line-height: 35px;
            width: 100%;

            position: relative;
            top: 18px;
        }
        .head .navbar .primary-more{
            display: inline-block;
            box-sizing: border-box;
            width: 210px;
            color: #fff;
            background: #ff6b37;
            padding-left: 15px;
            font-size: 15px;

            position: absolute;
            left: 82px;
        }
        .head .navbar .primary-more>i{
            background: url("../images/buttom-icon.png") no-repeat;
            background-size:16px ;
            width: 16px;
            height: 16px;
            display: inline-block;
            position: absolute;
            left: 180px;
            top: 10px;
        }
        .head .navbar .cate-item1{
            text-decoration: none;
            display: inline-block;
            color: #333;
            position: absolute;
            left:350px;
            font-size: 15px;
            font-weight: 700;
        }
        .head .navbar .cate-item1>i{
            background: url("../images/hot.png")no-repeat;
            background-size: 18px;

            width:18px;
            height: 18px;
            display: inline-block;
        }
        .head .navbar .cate-item2{
            text-decoration: none;
            display: inline-block;
            color: #333;
            position: absolute;
            left: 407px;
            font-size: 15px;
            font-weight: 700;
            margin-left:20px;
        }
        .head_photo{
            width: 120px;
            height: 120px;
        }
        .head_photo img{
            width: 100%;
            height: 100%;
        }
        .food-nav{
            width: 500px;
            height: 40px;
            background-color: #f5f5f5;
            font-size: 13px;
            color: #666;
            margin-left: 82px;
        }
        .food-nav a{
            text-decoration: none;
            color: #666;
            line-height: 40px;
        }
        .food-nav a:hover{
            color: #f63;
        }
        .main{
            width: 100%;
            height:1600px;
            background-color: #f5f5f5;

        }
        .main .basic{
            height: 300px;
            width: 800px;
            background-color: white;
            position: relative;

        }
        .main .basic-info{
            margin-left: 20px;
            margin-top: 20px;
        }
        .main .basic{
            position: absolute;
            left:83px;
        }
        .main .basic .basic-info{
        }
        .main .basic-info .basic-name{

            width: 500px;

        }
        .main .basic-info .basic-name>span{
            font-size: 24px;
            font-weight: 700;
            color: #333;
        }
        .main .basic-info .basic-name a{
            background-color: rgba(255, 129, 37, 0.49);
            color: #f63;
            text-decoration: none;
            font-size: 14px;
        }
        .main .basic-info .basic-xx{

            color: #333;
            font-size: 14px;
            margin-top:12px;
        }
        .main .basic-info .address{

            color: #333;
            font-size: 14px;
            margin-top: 12px;
        }
        .main .basic-info .ipone-num{

            color: #333;
            font-size: 14px;
            margin-top:12px;
        }
        .main .basic-info .gdxx{

            color: #333;
            font-size: 14px;
            margin-top: 12px;
            color: #f63;

        }
        .main .basic-info .gdxx span{
            width: 100px;
            height: 20px;
            display: inline-block;
            /* background-color: palegoldenrod;*/
            position: absolute;
            cursor: pointer;
        }
        .main .basic-info .gdxx>span i{
            background: url("../images/buttom-icon.png") no-repeat;
            background-size: 10px;
            position: absolute;
            left: 100px;

        }
        .main .basic-info .wdp{
            height: 36px;
            margin-top:70px;
        }
        .main .basic-info .wdp input{
            /* padding: 10px; */
            height: 36px;
            line-height: 16px;
            width:150px;
            border: 1px solid #f63;
            background-color: #f63;
            cursor: pointer;
            text-align: center;
            color: #fff;
            font-size: 16px;
            outline: none;
            border: none;

        }
        .main .price-info{
            height: 300px;
            width: 800px;
            background-color: white;
            position: relative;
            top: 320px;
            /*  border: 1px solid #000;*/
            left:83px;
        }
        .main .price-info .price .tj{

        }
        .main .price-info .price .tj h2{
            display: inline-block;
            margin-left: 20px;
            border-bottom: 2px solid #f63;
        }
        .main .price-info .price .tj h2>a{
            text-decoration: none;
            color: #333;
        }
        .main .price-info .price .food-img ul{
            list-style: none;

        }
        .main .price-info .price .food-img ul li{
            float: left;
            margin-top: 20px;
            margin-left: 15px;
            width: 93px;
            height: 95px;
            border: 1px solid #999;


        }
        .main .price-info .price .food-img ul li .breed{

            font-size: 12px;
            height: 25px;
            width: 93px;;
            line-height: 25px;
            display: inline-block;

        }
        .main .price-info .price .food-img ul li .prices{
            display: inline-block;
            width: 40px;
            height: 20px;
         /*   border: 1px solid #000;*/
           /* color: white;*/
            font-size: 12px;
            float: left;
            margin-left: 20px;
          /*  display: none;*/

        }
        .main .price-info .price .food-img ul li img{
            width: 93px;
            height: 69px;
        }
        .main .pl{
            height: 800px;
            width: 800px;
            background-color: white;
            position: relative;
            top:340px;
            /* border: 1px solid #000;*/
            left:83px;
        }
        .main .pl .wydp{
            margin-top: 15px;
            margin-left: 15px;
        }
        .main .pl .taga{
            height: 100px;
            width: 770px;
            background-color: #efefef;
            position: absolute;
            margin-top: 20px;


        }
        .main .pl .taga ul{

        }
        .main .pl .taga ul li{
            float: left;
            list-style: none;
            width: 100px;
            height: 50px;
            margin-top: 5px;

            text-align: center;


        }
        .main .pl .taga ul li a{
            margin-top: 2px;
            color: #f63;
            font-size: 12px;
            text-decoration: none;
            padding: 5px 15px;
            border: 1px solid rgba(178, 178, 178, 0.35);
            line-height: 30px;
            background-color: white;

        }
        .main .pl .radio{
            position: absolute;
            top: 167px;
            left: 30px;
        }
        .pl_list{
            position: absolute;
            width: 100%;
            height: 800px;
            top: 200px;

        }

        .comment a{
            font: 12px/1.5 "Microsoft YaHei","Hiragino Sans GB";
            color: #999;
            text-decoration: none;
        }
        .comment{
            position: absolute;
            line-height: 30px;
            left: 150px;
            top: 40px;
            color: #999;
            font: 12px/1.5 "Microsoft YaHei","Hiragino Sans GB";
        }

        .comment .sml-rank-stars{
            background: url("../images/remark.png")no-repeat;
            display: inline-block;
            width: 66px;
            height: 12px;
            vertical-align: -1px;
            background-size: 86px auto;
            margin-right: 10px;
            background-position: 0 -15px;

        }
        .txt{
            position: absolute;
            width: 600px;
            left: 150px;
            top: 70px;
            color: black;
            font: 12px/1.5 "Microsoft YaHei","Hiragino Sans GB";
        }
        .like{
            position: absolute;
            left: 130px;
            top: 170px;
            font: 13px/1.5 "Microsoft YaHei","Hiragino Sans GB";
            color: #999;

        }


    </style>
</head>
<body>
<div class="box">
    <!-- 顶部导航-->
    <div class="header-container">
        <div class="top-nav">
            <div class="mini-logo">
                <a href="index1.html" class="item">
                    <i class="icon-logo"></i>
                    大众点评首页
                </a>
            </div>
            <div class="group quick-menu ">
                <ul class="quick-munu">
                    <li class="munu">
                        <a href="${pageContext.request.contextPath}/shop/info4review?shopid="+${shopvo.shop.shopId}>
                            写点评
                        </a>
                    <li class="munu"><a href="../html_course/dp_login.html">
                        <span>你好，请登陆</span>
                        <span style="color: #f63;margin-left: 12px" >免费注册</span>
                    </a></li>
                    <li class="munu munu1"><a href="#">个人中心</a>
                        <div>
                            <ul class="down-list">
                                <li><a href="#">我的点评</a></li>
                                <li><a href="#">我的收藏</a></li>
                                <li><a href="#">我的团购</a></li>
                                <li><a href="#">我的部落</a></li>
                                <li><a href="#">我的订座</a></li>
                                <li><a href="#">我的设置</a></li>
                            </ul>
                        </div>
                    </li>
                    <li class="munu munu1"><a href="#">商户服务</a>
                    <li class="munu munu1"><a href="#">帮助中心</a>
                    <li class="munu munu1"><a href="#">网站导航</a></li>
                </ul>
            </div>
        </div>
    </div>
    <div class="head">
        <div class="logo">
            <a href="#" class="logo"></a>
            <span class="sub-logo">&nbsp | &nbsp 注册</span>
        </div>
        <div class="search">
            <input type="text" placeholder="搜索商户名、地址、菜单、外卖等"/>
            <input type="button" value="搜美食">
            <input type="button" value="搜全站">
        </div>
        <div class="navbar">
           <span class="primary-more">全部美食分类
               <i></i>
           </span>
            <a href="#" class="cate-item1">霸王餐 <i></i></a>
            <a href="#" class="cate-item2">社区论坛</a>
        </div>
    </div>
    <div class="food-nav">
        <a href="#">苏州美食</a>
        <a href="#">小吃快餐</a>
        <a href="#">${shopvo.shop.shopAddArea}</a>
        <a href="#">${shopvo.shop.shopAddStreet}</a>
        <span>${shopvo.shop.shopName}(${shopvo.shop.branchshopName})</span>
    </div>
    <div class="main">
        <div class="basic">
            <div class="basic-info">
                <div class="basic-name" >
                    <span>${shopvo.shop.shopName}(${shopvo.shop.branchshopName})</span>
                    <a href="">手机买单 积分底现</a>
                </div>
                <div class="basic-xx">
                    <span class="stat"><img src="../images/star.svg" alt=""/></span>
                    <span class="stat"><img src="../images/star.svg" alt=""/></span>
                    <span class="stat"><img src="../images/star.svg" alt=""/></span>
                    <span class="stat"><img src="../images/star.svg" alt=""/></span>
                    <span class="stat"><img src="../images/star.svg" alt=""/></span>

                    <span class="item1">人均：<span>${shopvo.shop.personConsume}</span>元</span>
                    <span class="item1">口味：<span>${shopvo.shop.flavorScore}</span></span>
                    <span class="item1">环境：<span>${shopvo.shop.surroundingScore}</span></span>
                    <span class="item1">服务：<span>${shopvo.shop.serviceScore}</span></span>
                </div>
                <div class="address">
                    地址：${shopvo.shop.shopAddCity}${shopvo.shop.shopAddArea} ${shopvo.shop.shopAddStreet}${shopvo.shop.stopAddDetail}
                </div>
                <div class="ipone-num">
                    电话：${shopvo.shop.telno1} ${shopvo.shop.telno2}
                </div>
                <div class="gdxx">
                    <span>更多信息
                    <i></i></span>
                </div>
                <div class="wdp">
                    <input type="button" onclick="goto_add_review()"  value="写点评"/>
                </div>
                <script>
                    function goto_add_review() {
                        window.location.href="${pageContext.request.contextPath}/shop/info4review?shopid="+${shopvo.shop.shopId};
                    }
                </script>

            </div>
        </div>
        <div class="price-info">
            <div class="price">
                <div class="tj">
                    <h2><a href="#">推荐菜</a></h2>
                    <h2><a href="#">环境</a></h2>
                    <h2><a href="#">价目表</a></h2>
                </div>
                <div class="food-img">
                    <ul>
                        <!-- 使用JSTL 遍历菜品 dish 集合中的数据-->
                    <c:forEach var="dish" items="${shopvo.dishList}">
                        <li>
                            <img src="${pageContext.request.contextPath}/${dish.mainImagePath}" />
                            <label class="breed">${dish.dishName}</label>
                              <label class="prices">${dish.dishPrice}元</label>
                        </li>
                    </c:forEach>


                    </ul>
                </div>
            </div>
        </div>
        <div class="pl">
            <div class="wydp">
                <div class="wydp-name" >
                    <span>网友点评（0）</span>
                </div>
                <div class="taga">

                    <div>
                        <ul>
                            <li><a href="">现做现卖</a></li>
                            <li><a href="">现做现卖</a></li>
                            <li><a href="">现做现卖</a></li>
                            <li><a href="">现做现卖</a></li>
                            <li><a href="">现做现卖</a></li>
                            <li><a href="">现做现卖</a></li>
                            <li><a href="">现做现卖</a></li>
                            <li><a href="">现做现卖</a></li>
                            <li><a href="">现做现卖</a></li>
                            <li><a href="">现做现卖</a></li>
                        </ul>
                    </div>
                </div>
                <div class="radio">
                    <input type="radio" name="pl"/> &nbsp  全部 &nbsp
                    <input type="radio" name="pl"/> &nbsp  好评 &nbsp
                    <input type="radio" name="pl"/> &nbsp  中评 &nbsp
                    <input type="radio" name="pl"/> &nbsp  差评 &nbsp
                </div>

                <div class="pl_list">
                    <ul  >
                        <!-- 点评记录的遍历 map<review,member>-->
                        <c:forEach var="m" items="${shopvo.reviewMemberMap}">


                            <li  style="width:800px;height: 220px; list-style: none">


                                <div  >
                                    <a href="">
                                        <img style="width:80px;height: 80px;border-radius: 40px"
                                         src="${pageContext.request.contextPath}/${m.value.other1}" />
                                    </a>
                                    <a href="" style="text-decoration: none">
                                        <span style="font-size: 16px;color: black;position: relative;top: -30px;left: 10px;">
                                            ${m.value.memberName}
                                    </a>
                                    </span>
                                    <span class="sml-rank-star"  ></span>
                                    <a href="#" style="text-decoration: none">
                                        <span style="font-size: 1px;color: darkslategray;position: relative;top: -30px;left: 30px;">
                                            人均:￥
                                        </span>
                                        <span style="font-size: 12px;color: darkslategray;position: relative;top: -30px;left: 30px;">
                                                ${m.key.personConsume }元
                                        </span>
                                    </a>
                                </div>

                                <div  style="margin-left: 20px" ><span style="font-size:12px;">  ${m.key.reviewComment}</span></div>
                                <div   style="margin-left: 20px;margin-top: 10px"><span span style="font-size:10px;color: darkslategray">喜欢的菜：${m.key.likeDish }</span></div>
                            </li>


                        </c:forEach>


                    </ul>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
</html>
